import { request } from '@/api/_service'

// 查询pmsOrder列表
export function LIST(data) {
  return request({
    url: "/pmsOrder/list",
    method: "get",
    params: data
  })
}

// 分页查询pmsOrder列表
export function PAGE(data) {
  return request({
    url: "/pmsOrder/page",
    method: "get",
    params: data
  })
}

// 查询pmsOrder
export function GET(data) {
  return request({
    url: "/pmsOrder/" + data,
    method: "get"
  })
}

// 新增pmsOrder
export function ADD(data) {
  return request({
    url: "/pmsOrder",
    method: "post",
    data: data
  })
}

// 修改pmsOrder
export function UPDATE(data) {
  return request({
    url: "/pmsOrder",
    method: "put",
    data: data
  })
}

// 删除pmsOrder
export function DELETE(data) {
  return request({
    url: "/pmsOrder/delete/" + data,
    method: "delete"
  })
}

export default {
  LIST,
  PAGE,
  GET,
  ADD,
  UPDATE,
  DELETE
}
